package com.tyc.mb.mapper;

import com.tyc.mb.model.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 类描述
 *
 * @author tyc
 * @version 1.0
 * @date 2021-10-25 17:57:11
 */
public interface UserMapper {

    User getUserById(Integer id );

    User getUserByName(String name);

    Long save(User user);

    Integer countByName(String name);

    List<User> getAll();
}
